<html>
<body>
<h2>Hello World!</h2>
<a href="emps"> Employee  List</a><br><br>
<a href="testJson" id="testJson">Test Json</a><br><br>

<form action="testMassageConverter" method="post" enctype="multipart/form-data">
    File: <input type="file" name="file"/><br><br>
    Desc: <input type="text" name="desc"/><br><br>
    <input type="submit" value="Submit"/>
</form>
<br><br>

<a href="testResponseEntity">testResponseEntity</a>
<br><br>
<form action="testMultipartResolver" method="post" enctype="multipart/form-data">
    File: <input type="file" name="file"/><br><br>
    Desc: <input type="text" name="desc"/><br><br>
    <input type="submit" value="Submit"/>
</form>
<br><br>
<a href="testException?i=10">Test Exception</a>
<br><br>
<a href="testSimpleMappingException?i=10">Test SimpleMappingException</a>
<br><br>
<a href="testDownload">testDownload</a>
<br><br>
<br><br>






















<script type="text/javascript" src="static/jquery-1.7.2.js"></script>
<script type="text/javascript">
    $(function () {
        $("#testJson").click(function () {
            var url=this.href;
            var args={};
            $.post(url,args,function (data) {
                for(var i=0;i<data.length;i++){
                    var id=data[i].id;
                    var lastName=data[i].lastName;

                    alert(id+":"+lastName);
                }
            })
            return false;
        })
    })

</script>
</body>
</html>
